package dblayer;

import modellayer.Product;

public interface IFProductDB {
	// Insert a Product
	public int insertProduct(Product productObj) throws Exception;

	// Get one Product by barcode
	public Product findProductByBarcode(String barcode);
	// Get one Product by name
	public Product findProductByName(String name);
	// Delete a Product by productNo
	boolean deleteProductByProductNo(int productNo);
	// Delete a Product by barcode
	boolean deleteProductByBarcode(String barcode);
	
}
